import React, { PureComponent } from 'react'
import { NativeRouter, Route, Link } from 'react-router-native'
import { View, Text } from 'react-native'
import Home from './Home/Home'

export default  class MainLayout extends PureComponent {
  render () {
    return (
      <NativeRouter>
        <View>
          <Route path="/" exact component={Home}></Route>
        </View>
      </NativeRouter>
    )
  }
}
